
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>修改密码</title>

    <!-- Le styles -->
    <link href="<?php echo $base_url;?>/style/bootstrap.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <h1>后台管理系统</h1>
        </div>
    </div>
    <div class="row-fluid">
<?php include 'nav.php';?>
        <div class="span10">
            <form class="form-horizontal" action="<?php echo $base_url;?>/index.php/admin/index/editpassword" method="post">
                <div class="control-group">
                    <label class="control-label" for="inputEmail">老密码</label>
                    <div class="controls">
                        <input id="inputEmail" type="text" name="old_pwd"/>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">新密码</label>
                    <div class="controls">
                        <input id="inputPassword" type="password" name="new_pwd"/>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">确认密码</label>
                    <div class="controls">
                        <input id="inputPassword" type="password" name="re_pwd"/>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn">登陆</button>
                    </div>
                </div>
            </form>
            <script>
                $(function(){
                    $('.btn').click(function(){
                        $('.form-horizontal').submit();
                    });
                })
            </script>
        </div>
    </div>
</div>
</body>